﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EasyAdmin.Application.Contracts.Systems.Menus.Dtos
{
    public class RoleBindMenuInput
    {
        /// <summary>
        /// 角色唯一标识
        /// </summary>
        public long RoleId { get; set; }
        /// <summary>
        /// 菜单信息
        /// </summary>
        public List<BindMenuInfo> Menus { get; set; }
    }

    /// <summary>
    /// 绑定菜单信息
    /// </summary>
    public class BindMenuInfo
    {
        /// <summary>
        /// 菜单唯一标识
        /// </summary>
        public long MenuId { get; set; }
        /// <summary>
        /// 绑定的按钮列表
        /// </summary>
        public List<long> Opertions { get; set; }
    }
}
